package com.zifeng.study.service;

import com.zifeng.study.bean.User;

/**
 * @description 订单service
 */
public interface OrderService {

    /**
     * 根据用户id，商品名称创建order
     *
     * @param userId  userId
     * @param product productName
     * @return 结果
     */
    String createOrder(long userId, String product);
    User getOrderUserInfo(long oId);
}
